package com.iplant.aps.service.po.exc;

import com.iplant.aps.service.po.bpm.BPMTaskBase;

import java.util.Calendar;

/**
 * 异常任务主体(流程引擎版本)
 */
public class EXCCallTaskBPM extends BPMTaskBase {

    /**
     * 序列号
     */
    private static final long serialVersionUID = 1L;

    /**  
     *  
     */
    public int CompanyID = 0;

    /**
     * 异常点类型 申请单中获取
     */
    public long StationType = 0;

    /**
     * 异常点类型 申请单中获取
     */
    public String StationTypeName = "";

    /**
     * 异常点ID 申请单中获取
     */
    public long StationID = 0;

    /**
     * 异常点编码 申请单中获取
     */
    public String StationNo = "";

    /**
     * 异常类型ID
     */
    public long ExceptionTypeID = 0;

    /**
     * 异常类型名称
     */

    public String ExceptionTypeName = "";

    /**
     * 申请人ID 申请单中获取
     */
    public long ApplicantID = 0;

    /**
     * 确认人ID
     */
    public long ConfirmID = 0;

    /**
     * 责任人ID 异常解决人 最后责任人 会变
     */
    public String OperatorID = "";

    /**
     * 责任人名称
     */
    public String Operators = "";

    /**
     * 申请时刻
     */
    public Calendar ApplicantTime = Calendar.getInstance();

    /**
     * 响应级别 申请单中获取
     */
    public int RespondLevel = 0;

    /**
     * 是否到场确认 申请单中获取
     */
    public boolean OnSite = false;

    /**
     * 是否在看板上显示 申请单中获取
     */
    public boolean DisplayBoard = false;

    // /**
    // * 录入时间
    // */
    // public Calendar CreateTime = Calendar.getInstance();

    /**
     * 修改时间
     */
    public Calendar EditTime = Calendar.getInstance();

    /**
     * 超时时间 -- 不存数据库 只在拿个人任务列表时赋值 >2010-1-1 时为需要倒计时的 否则无需倒计时
     */
    public Calendar ExpireTime = Calendar.getInstance();

    /**
     * 备注 可用于自定义数据存储
     */
    public String Remark = "";

    /**
     * 描述 申请单中获取
     */
    public String Comment = "";

    /**
     * 图片地址 申请单中获取
     */
    public String ImageList = "";

    /**
     * 剩余上报次数
     */
    public int ReportTimes = 0;

    /**
     * 剩余转发次数
     */
    public int ForwardTimes = 0;

    /**
     * 班次ID
     */
    public int ShiftID = 0;
    /**
     * !工件编号
     */
    public String PartNo = "";

    /**
     * 台位ID
     */
    public int PlaceID = 0;

    /**
     * 台位编号
     */
    public String PlaceNo = "";
    public String StationName = "";

    // 辅助属性
    public String ApplyName = "";
    public String ConfirmName = "";
    public String RespondLevelName = "";
    public int PartID = 0;
    public int OrderID = 0;

    public EXCCallTaskBPM() {
        StationTypeName = "";
        StationNo = "";
        ExpireTime.set(2000, 1, 1);
        ApplicantTime.set(2000, 1, 1);
        // CreateTime.set(2000, 1, 1);
        EditTime.set(2000, 1, 1);
        Comment = "";
        PartNo = "";
    }

    public int getCompanyID() {
        return CompanyID;
    }

    public void setCompanyID(int companyID) {
        CompanyID = companyID;
    }

    public long getStationType() {
        return StationType;
    }

    public void setStationType(long stationType) {
        StationType = stationType;
    }

    public String getStationTypeName() {
        return StationTypeName;
    }

    public void setStationTypeName(String stationTypeName) {
        StationTypeName = stationTypeName;
    }

    public long getStationID() {
        return StationID;
    }

    public void setStationID(long stationID) {
        StationID = stationID;
    }

    public String getStationNo() {
        return StationNo;
    }

    public void setStationNo(String stationNo) {
        StationNo = stationNo;
    }

    public long getExceptionTypeID() {
        return ExceptionTypeID;
    }

    public void setExceptionTypeID(long exceptionTypeID) {
        ExceptionTypeID = exceptionTypeID;
    }

    public String getExceptionTypeName() {
        return ExceptionTypeName;
    }

    public void setExceptionTypeName(String exceptionTypeName) {
        ExceptionTypeName = exceptionTypeName;
    }

    public long getApplicantID() {
        return ApplicantID;
    }

    public void setApplicantID(long applicantID) {
        ApplicantID = applicantID;
    }

    public long getConfirmID() {
        return ConfirmID;
    }

    public void setConfirmID(long confirmID) {
        ConfirmID = confirmID;
    }

    public String getOperators() {
        return Operators;
    }

    public void setOperators(String operators) {
        Operators = operators;
    }

    public Calendar getApplicantTime() {
        return ApplicantTime;
    }

    public void setApplicantTime(Calendar applicantTime) {
        ApplicantTime = applicantTime;
    }

    public int getRespondLevel() {
        return RespondLevel;
    }

    public void setRespondLevel(int respondLevel) {
        RespondLevel = respondLevel;
    }

    public boolean isOnSite() {
        return OnSite;
    }

    public void setOnSite(boolean onSite) {
        OnSite = onSite;
    }

    public boolean isDisplayBoard() {
        return DisplayBoard;
    }

    public void setDisplayBoard(boolean displayBoard) {
        DisplayBoard = displayBoard;
    }

    // public Calendar getCreateTime() {
    // return CreateTime;
    // }
    //
    // public void setCreateTime(Calendar createTime) {
    // CreateTime = createTime;
    // }

    public Calendar getEditTime() {
        return EditTime;
    }

    public void setEditTime(Calendar editTime) {
        EditTime = editTime;
    }

    public Calendar getExpireTime() {
        return ExpireTime;
    }

    public void setExpireTime(Calendar expireTime) {
        ExpireTime = expireTime;
    }

    public String getRemark() {
        return Remark;
    }

    public void setRemark(String remark) {
        Remark = remark;
    }

    public String getComment() {
        return Comment;
    }

    public void setComment(String comment) {
        Comment = comment;
    }

    public String getImageList() {
        return ImageList;
    }

    public void setImageList(String imageList) {
        ImageList = imageList;
    }

    public int getReportTimes() {
        return ReportTimes;
    }

    public void setReportTimes(int reportTimes) {
        ReportTimes = reportTimes;
    }

    public int getForwardTimes() {
        return ForwardTimes;
    }

    public void setForwardTimes(int forwardTimes) {
        ForwardTimes = forwardTimes;
    }

    public int getShiftID() {
        return ShiftID;
    }

    public void setShiftID(int shiftID) {
        ShiftID = shiftID;
    }

    public String getPartNo() {
        return PartNo;
    }

    public void setPartNo(String partNo) {
        PartNo = partNo;
    }

    public int getPlaceID() {
        return PlaceID;
    }

    public void setPlaceID(int placeID) {
        PlaceID = placeID;
    }

    public String getPlaceNo() {
        return PlaceNo;
    }

    public void setPlaceNo(String placeNo) {
        PlaceNo = placeNo;
    }

    public String getApplyName() {
        return ApplyName;
    }

    public void setApplyName(String applyName) {
        ApplyName = applyName;
    }

    public String getConfirmName() {
        return ConfirmName;
    }

    public void setConfirmName(String confirmName) {
        ConfirmName = confirmName;
    }

    public String getRespondLevelName() {
        return RespondLevelName;
    }

    public void setRespondLevelName(String respondLevelName) {
        RespondLevelName = respondLevelName;
    }

    public String getOperatorID() {
        return OperatorID;
    }

    public void setOperatorID(String operatorID) {
        OperatorID = operatorID;
    }

    public int getPartID() {
        return PartID;
    }

    public void setPartID(int partID) {
        PartID = partID;
    }

    public String getStationName() {
        return StationName;
    }

    public void setStationName(String stationName) {
        StationName = stationName;
    }

    public int getOrderID() {
        return OrderID;
    }

    public void setOrderID(int orderID) {
        OrderID = orderID;
    }
}
